<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <style>
    table,th,td{
        border: 1px solid #333;

    }
    table{
       
        /* 边框折叠   (核心) */
        border-collapse: collapse;
        
        width: 500px;
        line-height: 50px;
        text-align: center;
    }
    
    </style>
    <title>Document</title>
</head>
<body>
    <table>
        <!-- 表格头部 第一排 -->
        <thead>
            <tr>
                <th>商城</th><th>手机</th>
            </tr>
        </thead>
        
      <!-- 表格身体  -->
        <tbody>
            <tr>
                <td>Tmall</td><td>小米</td>
            </tr>
            <tr>
                <td>Jd</td><td>HUEWEI</td>
            </tr>
            <tr>
                <td>Jd</td><td>HUEWEI</td>
            </tr>
            <tr>
                <td>Jd</td><td>HUEWEI</td>
            </tr>
        </tbody>
    </table>
</body>
</html>